package com.zcl.javaClassAndObject.inheritance;

import com.zcl.javaClassAndObject.inheritance.Rock;

/**
 * @Description:
 * @author: zcl
 * @date: 2021/12/9  13:48
 */
public class SimpleConstructor {

    public static void main(String[] args) {
//        for (int i = 0; i < 100; i++) {
//            new Rock(new Random().nextInt(100));
////            new Rock();
//        }
        new Rock(1);

        Rock rock = new Rock(), rock2 = new Rock(2);
    }
}
